﻿#include "mainwindow.h"
#include "glwidget.h"
#include <QApplication>
#include <QOffscreenSurface>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    // MainWindow w;
    // w.show();
    GLWidget widget;
    widget.resize(800, 600);
    widget.setWindowTitle("Qt OpenGL Demo");
    widget.show();
    return a.exec();
}
